<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('store_account/index',array('store_id'=>input('store_id')))}">账号列表</a></li>
			<li class="active"><a href="{:url('store_account/add',array('store_id'=>input('store_id')))}">账号添加</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('store_account/add')}">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>名称</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" name="name">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>账号</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" name="account">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>密码</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" name="password" placeholder="******">
				</div>
			</div>
			<div class="form-group">
                <label class="col-sm-2 control-label" for="checkbox">身份</label>
                <div class="col-md-8 col-sm-10">
                    <label class="radio-inline">
                        <input type="radio" name="type" value="1">店长
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="2">店员
                    </label>
                </div>
            </div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="store_id" value="{:input('store_id')}">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>